package com.jr.entry;

import java.util.Date;

public class SupplierBlackList {
    private Integer id;
    private Integer enterpriseId;   //企业主键
    private Integer supplierId;     //供应商主键
    private String reason;          //添加理由
    private String updateDate;        //更新日期

    public SupplierBlackList() {
    }

    public SupplierBlackList(Integer id, Integer enterpriseId, Integer supplierId, String reason, String updateDate) {
        this.id = id;
        this.enterpriseId = enterpriseId;
        this.supplierId = supplierId;
        this.reason = reason;
        this.updateDate = updateDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Integer enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return "SupplierBlackList{" +
                "id=" + id +
                ", enterpriseId=" + enterpriseId +
                ", supplierId=" + supplierId +
                ", reason='" + reason + '\'' +
                ", updateDate=" + updateDate +
                '}';
    }
}
